﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Teachers:Person 
    {
        
        public string Title { get; set; }
        public string Wageno { get; set; }
        public void aa()
        {
            Console.WriteLine("教师ID为：{0}，姓名为：{1}，性别为：{2}，身份证号为：{3}，联系方式：{4}，职称：{5}，工资号：{6}", this.ID, this.Name, this.Sex, this.Cardid, this.Tel, this.Title, this.Wageno);
        }
    }
}
